package com.gmscosmo.janus.echarts;

public class Option {
    private Title title;
    private int animationDurationUpdate =1500;
    private String animationEasingUpdate = "quinticInOut";
    private Series series;

    public Title getTitle() {
        return title;
    }

    public void setTitle(Title title) {
        this.title = title;
    }

    public int getAnimationDurationUpdate() {
        return animationDurationUpdate;
    }

    public void setAnimationDurationUpdate(int animationDurationUpdate) {
        this.animationDurationUpdate = animationDurationUpdate;
    }

    public String getAnimationEasingUpdate() {
        return animationEasingUpdate;
    }

    public void setAnimationEasingUpdate(String animationEasingUpdate) {
        this.animationEasingUpdate = animationEasingUpdate;
    }

    public Series getSeries() {
        return series;
    }

    public void setSeries(Series series) {
        this.series = series;
    }

    @Override
    public String toString() {
        return "{" +"\n"+
                "  title:" + title +",\n"+
                "  animationDurationUpdate:" + animationDurationUpdate +",\n"+
                "  animationEasingUpdate:'" + animationEasingUpdate + '\'' +",\n"+
                "  series:[" + series +"\n]"+
                "}";
    }
}
